﻿@model Fmis10_1.Models.Team

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Default.cshtml";
}

<h2>Details</h2>

<fieldset>
    <legend>Team</legend>
 <table>
            @Html.HiddenFor(model => model.TeamId)
            <tr>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.TeamName)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.TeamName,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.TeamName)
                    </div>
                </td>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.ClubId, "Club")
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.Club.ClubName,new {disabled="disabled" })
                       
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Webpage)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.Webpage,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.Webpage)
                    </div>
                </td>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Division)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.Division,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.Division)
                    </div>
                </td>
            </tr>

            <tr>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Gender)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.Gender,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.Gender)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.HomeShirt)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.HomeShirt,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.HomeShirt)
                    </div>
                </td>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.HomeShorts)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.HomeShorts,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.HomeShorts)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.HomeGoalieshirt)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.HomeGoalieshirt,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.HomeGoalieshirt)
                    </div>
                </td>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.AwayShirt)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.AwayShirt,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.AwayShirt)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.AwayShorts)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.AwayShorts,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.AwayShorts)
                    </div>
                </td>
                <td>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.AwayGoalieshirt)
                    </div>
                </td>
                <td>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.AwayGoalieshirt,new {disabled="disabled" })
                        @Html.ValidationMessageFor(model => model.AwayGoalieshirt)
                    </div>
                </td>

                <tr>
                    <td>
                        <div>
                            @Html.ActionLink("Back to List", "Index")
                        </div>
                    </td>
                    <td>@Html.ActionLink("Edit", "Edit", new { id=Model.TeamId })

                    </td>
                    

                </tr>



        </table>
    </fieldset>